import request from '@/utils/request'

// 查询staff列表
export function listStaffService(query) {
  return request({
    url: '/staff/staffService/list',
    method: 'get',
    params: query
  })
}

// 查询staff详细
export function getStaffService(staffserviceId) {
  return request({
    url: '/staff/staffService/' + staffserviceId,
    method: 'get'
  })
}

// 新增staff
export function addStaffService(data) {
  return request({
    url: '/staff/staffService',
    method: 'post',
    data: data
  })
}

// 修改staff
export function updateStaffService(data) {
  return request({
    url: '/staff/staffService',
    method: 'put',
    data: data
  })
}

// 删除staff
export function delStaffService(staffserviceId) {
  return request({
    url: '/staff/staffService/' + staffserviceId,
    method: 'delete'
  })
}

